package com.haruhi.bot.endpoint.handler;

import com.haruhi.bot.endpoint.ws.model.MessageBox;
import com.haruhi.bot.endpoint.ws.MessageHandler;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class GocqhttpHandler implements MessageHandler {

    @Override
    public void handle(MessageBox messageBox) {
        log.info("处理消息:{}",messageBox.getMessage());
    }
}
